package com.briup.jz.service;

import java.util.List;

import com.briup.jz.bean.Product;
import com.briup.jz.bean.extend.ProductExtend;
import com.briup.jz.utils.CustomerException;

public interface IProductService {
void saveOrUpdate(Product product) throws CustomerException;
	
	List<Product> query(String name);
	
	void deleteById(long id) throws CustomerException;
	List<ProductExtend> queryWithUser(String name);

}
